from typing import List,Dict
def count(ls:List[int]) -> Dict:
    dct = {}
    for num in ls:
        if isinstance(num ,(int, float)):
            str_num = str(num)
            dct[str_num] = dct.get(num, 0) + 1
    return dct

if __name__ == '__main__':
    ls = [1,2,2,3,3,3,4,5,5,6,6,6,6]
    print(count(ls))